package com.smart.electronic.fence.service;

import com.smart.electronic.fence.pojo.User;

import java.math.BigInteger;
import java.util.List;

public interface UserService {

    int addUserInfo(User user);

    int removeById(BigInteger userId);

    int editById(User user);

    int exitByUserNameAndPwd(User user);

    int editPwd(User user);

    int editOnlineByUser(User user);

    User getById(BigInteger userId);

    User getByUserNameAndPwd(String userName,String userPassword);

    List<User> getAll();
}
